package cn.lopr.im.android.bean;

import cn.lopr.im.android.db.entity.Message;

public class HomeDialogueBean extends cn.lopr.im.android.db.entity.HomeDialogue {
    private String fromPhone;
    private int isReadNum;
    private Message lastMessage;

    public HomeDialogueBean() {

    }

    public HomeDialogueBean(String fromPhone, int isReadNum, Message lastMessage) {
        this.fromPhone = fromPhone;
        this.isReadNum = isReadNum;
        this.lastMessage = lastMessage;
    }

    public String getFromPhone() {
        return fromPhone;
    }

    public HomeDialogueBean setFromPhone(String fromPhone) {
        this.fromPhone = fromPhone;
        return this;
    }

    public int getIsReadNum() {
        return isReadNum;
    }

    public HomeDialogueBean setIsReadNum(int isReadNum) {
        this.isReadNum = isReadNum;
        return this;
    }

    public Message getLastMessage() {
        return lastMessage;
    }

    public HomeDialogueBean setLastMessage(Message lastMessage) {
        this.lastMessage = lastMessage;
        return this;
    }
}
